Identifying the Major Sources of Variance in Transaction Latencies: Towards More Predictable Databases
نویسندگان
چکیده
Decades of research have sought to improve transaction processing performance and scalability in database management systems (DBMSs). Far less attention has been dedicated to the predictability of performance—how often individual transactions exhibit execution latency far from the mean. Performance predictability is vital when transaction processing lies on the critical path of an interactive web service, or in emerging market segments that offer transaction processing as a service to customers who contract for guaranteed levels of performance. In this paper, we take several steps towards achieving more predictable database systems. First, we propose a profiling framework called VProfiler that, given the source code of a DBMS, is able to identify the dominant sources of variance in transaction latency. VProfiler works by deconstructing overall transaction latency variance into variances and covariances of the execution time of individual functions, which provide insight into the root causes of variance. Second, through a case study of MySQL, we show that lock management is a primary source of latency variance and propose a new lock scheduling algorithm, called VarianceAware Transaction Scheduling (VATS), to reduce variance. We additionally propose enhancements to the buffer pool replacement policy and identify MySQL parameters that can be tuned to reduce variance based on the output of VProfiler. Our experimental results show that our schemes reduce overall transaction latency variance by 37% on average (and up to 64%) without compromising throughput.
منابع مشابه
Mining the Banking Customer Behavior Using Clustering and Association Rules Methods
The unprecedented growth of competition in the banking technology has raised the importance of retaining current customers and acquires new customers so that is important analyzing Customer behavior, which is base on bank databases. Analyzing bank databases for analyzing customer behavior is difficult since bank databases are multi-dimensional, comprised of monthly account records and daily t...
متن کاملAn Efficient Modified Apriori Algorithm for Mining Association Rules for Large Itemsets in Large Centralized Databases
The proposed algorithm is derived from the conventional Apriori approach with features added to improve data mining performance. These features are embedded in the encoding and decoding mechanisms. It has been confirmed by the experiment results that these features can indeed support effective and efficient mining of association rules in large centralized databases. The goal of the encoding mec...
متن کاملProtein Databases
Proteins are sources of many peptides with diverse biological activity. Some of them are considered as valuable components of foods and drug targets with desired and designed biological activity. We are now entering an era rich in biological data in which the field of bioinformatics is poised to exploit this information in increasingly powerful ways. There are currently many databases all over ...
متن کاملA hybrid approach for database intrusion detection at transaction and inter-transaction levels
Nowadays, information plays an important role in organizations. Sensitive information is often stored in databases. Traditional mechanisms such as encryption, access control, and authentication cannot provide a high level of confidence. Therefore, the existence of Intrusion Detection Systems in databases is necessary. In this paper, we propose an intrusion detection system for detecting attacks...
متن کاملReactors: A Case for Predictable, Virtualized Actor Database Systems
The requirements for OLTP database systems are becoming ever more demanding. New OLTP applications require high degrees of scalability with controlled transaction latencies in in-memory databases. Deployments of these applications require low-level control of database system overhead and program-to-data affinity to maximize resource utilization in modern machines. Unfortunately, current solutio...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1602.01871 شماره
صفحات -
تاریخ انتشار 2016